package com.dabai.iot.core.vo;

import com.dabai.iot.core.entity.DeviceEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.HashMap;
import java.util.Map;

/**
 * 设备 视图实体类
 *
 * @author kev1n
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class DeviceVO extends DeviceEntity {

    /**
     * 产品名称
     */
    @Schema(description = "产品名称")
    private String productName;

    /**
     * 设备属性
     */
    private Map<String, Object> property = new HashMap<>();

}
